le2(0, y) -> true
le2(s1(x), 0) -> false
le2(s1(x), s1(y)) -> le2(x, y)
pred1(s1(x)) -> x
minus2(x, 0) -> x
minus2(x, s1(y)) -> pred1(minus2(x, y))
gcd2(0, y) -> y
gcd2(s1(x), 0) -> s1(x)
gcd2(s1(x), s1(y)) -> if_gcd3(le2(y, x), s1(x), s1(y))
if_gcd3(true, s1(x), s1(y)) -> gcd2(minus2(x, y), s1(y))
if_gcd3(false, s1(x), s1(y)) -> gcd2(minus2(y, x), s1(x))
↳ QTRS
↳ DependencyPairsProof
le2(0, y) -> true
le2(s1(x), 0) -> false
le2(s1(x), s1(y)) -> le2(x, y)
pred1(s1(x)) -> x
minus2(x, 0) -> x
minus2(x, s1(y)) -> pred1(minus2(x, y))
gcd2(0, y) -> y
gcd2(s1(x), 0) -> s1(x)
gcd2(s1(x), s1(y)) -> if_gcd3(le2(y, x), s1(x), s1(y))
if_gcd3(true, s1(x), s1(y)) -> gcd2(minus2(x, y), s1(y))
if_gcd3(false, s1(x), s1(y)) -> gcd2(minus2(y, x), s1(x))
IF_GCD3(false, s1(x), s1(y)) -> GCD2(minus2(y, x), s1(x))
IF_GCD3(true, s1(x), s1(y)) -> MINUS2(x, y)
MINUS2(x, s1(y)) -> PRED1(minus2(x, y))
LE2(s1(x), s1(y)) -> LE2(x, y)
GCD2(s1(x), s1(y)) -> LE2(y, x)
IF_GCD3(true, s1(x), s1(y)) -> GCD2(minus2(x, y), s1(y))
GCD2(s1(x), s1(y)) -> IF_GCD3(le2(y, x), s1(x), s1(y))
MINUS2(x, s1(y)) -> MINUS2(x, y)
IF_GCD3(false, s1(x), s1(y)) -> MINUS2(y, x)
le2(0, y) -> true
le2(s1(x), 0) -> false
le2(s1(x), s1(y)) -> le2(x, y)
pred1(s1(x)) -> x
minus2(x, 0) -> x
minus2(x, s1(y)) -> pred1(minus2(x, y))
gcd2(0, y) -> y
gcd2(s1(x), 0) -> s1(x)
gcd2(s1(x), s1(y)) -> if_gcd3(le2(y, x), s1(x), s1(y))
if_gcd3(true, s1(x), s1(y)) -> gcd2(minus2(x, y), s1(y))
if_gcd3(false, s1(x), s1(y)) -> gcd2(minus2(y, x), s1(x))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
IF_GCD3(false, s1(x), s1(y)) -> GCD2(minus2(y, x), s1(x))
IF_GCD3(true, s1(x), s1(y)) -> MINUS2(x, y)
MINUS2(x, s1(y)) -> PRED1(minus2(x, y))
LE2(s1(x), s1(y)) -> LE2(x, y)
GCD2(s1(x), s1(y)) -> LE2(y, x)
IF_GCD3(true, s1(x), s1(y)) -> GCD2(minus2(x, y), s1(y))
GCD2(s1(x), s1(y)) -> IF_GCD3(le2(y, x), s1(x), s1(y))
MINUS2(x, s1(y)) -> MINUS2(x, y)
IF_GCD3(false, s1(x), s1(y)) -> MINUS2(y, x)
le2(0, y) -> true
le2(s1(x), 0) -> false
le2(s1(x), s1(y)) -> le2(x, y)
pred1(s1(x)) -> x
minus2(x, 0) -> x
minus2(x, s1(y)) -> pred1(minus2(x, y))
gcd2(0, y) -> y
gcd2(s1(x), 0) -> s1(x)
gcd2(s1(x), s1(y)) -> if_gcd3(le2(y, x), s1(x), s1(y))
if_gcd3(true, s1(x), s1(y)) -> gcd2(minus2(x, y), s1(y))
if_gcd3(false, s1(x), s1(y)) -> gcd2(minus2(y, x), s1(x))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
MINUS2(x, s1(y)) -> MINUS2(x, y)
le2(0, y) -> true
le2(s1(x), 0) -> false
le2(s1(x), s1(y)) -> le2(x, y)
pred1(s1(x)) -> x
minus2(x, 0) -> x
minus2(x, s1(y)) -> pred1(minus2(x, y))
gcd2(0, y) -> y
gcd2(s1(x), 0) -> s1(x)
gcd2(s1(x), s1(y)) -> if_gcd3(le2(y, x), s1(x), s1(y))
if_gcd3(true, s1(x), s1(y)) -> gcd2(minus2(x, y), s1(y))
if_gcd3(false, s1(x), s1(y)) -> gcd2(minus2(y, x), s1(x))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
MINUS2(x, s1(y)) -> MINUS2(x, y)
POL( MINUS2(x1, x2) ) = x1 + x2
POL( s1(x1) ) = x1 + 1
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
↳ QDP
le2(0, y) -> true
le2(s1(x), 0) -> false
le2(s1(x), s1(y)) -> le2(x, y)
pred1(s1(x)) -> x
minus2(x, 0) -> x
minus2(x, s1(y)) -> pred1(minus2(x, y))
gcd2(0, y) -> y
gcd2(s1(x), 0) -> s1(x)
gcd2(s1(x), s1(y)) -> if_gcd3(le2(y, x), s1(x), s1(y))
if_gcd3(true, s1(x), s1(y)) -> gcd2(minus2(x, y), s1(y))
if_gcd3(false, s1(x), s1(y)) -> gcd2(minus2(y, x), s1(x))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
LE2(s1(x), s1(y)) -> LE2(x, y)
le2(0, y) -> true
le2(s1(x), 0) -> false
le2(s1(x), s1(y)) -> le2(x, y)
pred1(s1(x)) -> x
minus2(x, 0) -> x
minus2(x, s1(y)) -> pred1(minus2(x, y))
gcd2(0, y) -> y
gcd2(s1(x), 0) -> s1(x)
gcd2(s1(x), s1(y)) -> if_gcd3(le2(y, x), s1(x), s1(y))
if_gcd3(true, s1(x), s1(y)) -> gcd2(minus2(x, y), s1(y))
if_gcd3(false, s1(x), s1(y)) -> gcd2(minus2(y, x), s1(x))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
LE2(s1(x), s1(y)) -> LE2(x, y)
POL( LE2(x1, x2) ) = x1
POL( s1(x1) ) = x1 + 1
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
le2(0, y) -> true
le2(s1(x), 0) -> false
le2(s1(x), s1(y)) -> le2(x, y)
pred1(s1(x)) -> x
minus2(x, 0) -> x
minus2(x, s1(y)) -> pred1(minus2(x, y))
gcd2(0, y) -> y
gcd2(s1(x), 0) -> s1(x)
gcd2(s1(x), s1(y)) -> if_gcd3(le2(y, x), s1(x), s1(y))
if_gcd3(true, s1(x), s1(y)) -> gcd2(minus2(x, y), s1(y))
if_gcd3(false, s1(x), s1(y)) -> gcd2(minus2(y, x), s1(x))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
IF_GCD3(false, s1(x), s1(y)) -> GCD2(minus2(y, x), s1(x))
IF_GCD3(true, s1(x), s1(y)) -> GCD2(minus2(x, y), s1(y))
GCD2(s1(x), s1(y)) -> IF_GCD3(le2(y, x), s1(x), s1(y))
le2(0, y) -> true
le2(s1(x), 0) -> false
le2(s1(x), s1(y)) -> le2(x, y)
pred1(s1(x)) -> x
minus2(x, 0) -> x
minus2(x, s1(y)) -> pred1(minus2(x, y))
gcd2(0, y) -> y
gcd2(s1(x), 0) -> s1(x)
gcd2(s1(x), s1(y)) -> if_gcd3(le2(y, x), s1(x), s1(y))
if_gcd3(true, s1(x), s1(y)) -> gcd2(minus2(x, y), s1(y))
if_gcd3(false, s1(x), s1(y)) -> gcd2(minus2(y, x), s1(x))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
IF_GCD3(false, s1(x), s1(y)) -> GCD2(minus2(y, x), s1(x))
IF_GCD3(true, s1(x), s1(y)) -> GCD2(minus2(x, y), s1(y))
Used ordering: Polynomial Order [17,21] with Interpretation:
GCD2(s1(x), s1(y)) -> IF_GCD3(le2(y, x), s1(x), s1(y))
POL( minus2(x1, x2) ) = x1
POL( true ) = 1
POL( GCD2(x1, x2) ) = max{0, x1 + x2 - 1}
POL( IF_GCD3(x1, ..., x3) ) = max{0, x2 + x3 - 1}
POL( false ) = 1
POL( 0 ) = 1
POL( s1(x1) ) = x1 + 1
POL( le2(x1, x2) ) = max{0, x2 - 1}
POL( pred1(x1) ) = x1
minus2(x, 0) -> x
minus2(x, s1(y)) -> pred1(minus2(x, y))
pred1(s1(x)) -> x
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
GCD2(s1(x), s1(y)) -> IF_GCD3(le2(y, x), s1(x), s1(y))
le2(0, y) -> true
le2(s1(x), 0) -> false
le2(s1(x), s1(y)) -> le2(x, y)
pred1(s1(x)) -> x
minus2(x, 0) -> x
minus2(x, s1(y)) -> pred1(minus2(x, y))
gcd2(0, y) -> y
gcd2(s1(x), 0) -> s1(x)
gcd2(s1(x), s1(y)) -> if_gcd3(le2(y, x), s1(x), s1(y))
if_gcd3(true, s1(x), s1(y)) -> gcd2(minus2(x, y), s1(y))
if_gcd3(false, s1(x), s1(y)) -> gcd2(minus2(y, x), s1(x))